<%@ tag dynamic-attributes="dynAttr" body-content="scriptless" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ attribute name="neighbourList" required="true" rtexprvalue="true" type="java.util.List"%>
<%@ attribute name="isFront" rtexprvalue="true" type="java.lang.Boolean"%>
<c:choose>
	<c:when test="${isFront }">
		<c:set var="url" value="" />
	</c:when>
	<c:otherwise>
		<c:set var="url" value="show.action?articleExt.ids=" />
	</c:otherwise>
</c:choose>
<div class="neighbour">
	<div class="text_left">
		<s:if test="@org.apache.commons.lang.StringUtils@isNotBlank(#attr.neighbourList[0].id)">
			<a title="${ neighbourList[0].fullTitle }" href="${url}${neighbourList[0].id}">&lt;&lt;前一篇:${ neighbourList[0].title }</a>
		</s:if>
		&nbsp;
	</div>
	<div class="text_right">
		<s:if test="@org.apache.commons.lang.StringUtils@isNotBlank(#attr.neighbourList[1].id)">
				<a title="${ neighbourList[1].fullTitle }" href="${url}${neighbourList[1].id}">后一篇:${ neighbourList[1].title }&gt;&gt;</a>
		</s:if>
		&nbsp;
	</div>
</div>
<jsp:doBody />
<div class="neighbour">
	<div class="text_left">
		<s:if test="@org.apache.commons.lang.StringUtils@isNotBlank(#attr.neighbourList[0].id)">
			<a title="${ neighbourList[0].fullTitle }" href="${url}${neighbourList[0].id}">&lt;&lt;前一篇:${ neighbourList[0].title }</a>
		</s:if>
		&nbsp;
	</div>
	<div class="text_right">
		<s:if test="@org.apache.commons.lang.StringUtils@isNotBlank(#attr.neighbourList[1].id)">
				<a title="${ neighbourList[1].fullTitle }" href="${url}${neighbourList[1].id}">后一篇:${ neighbourList[1].title }&gt;&gt;</a>
		</s:if>
		&nbsp;
	</div>
</div>